﻿<?php
/*
# $Id: GlobalView.tpl 155 2007-09-17 10:48:30Z james $
*/
?>
<<?php echo "?"; ?>xml version="1.0" encoding="utf-8"<?php echo "?"; ?>>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<title>Buan</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="description" content="This is the default template for Buan's GlobalView" />
	<link rel="stylesheet" href="<?php echo Config::get('core.url.resources'); ?>/css/global-view.css" type="text/css" media="screen" />
</head>
<body>
	<div id="GlobalHeader">
		<h1>Buan</h1>
		<ul>
			<li>&raquo; <a href="<?php echo UrlCommand::createUrl('core'); ?>">Core</a> &laquo;</li>
		</ul>
	</div>

	<div id="EventLogOutput">
		<?php echo $this->getSlot('systemlog')->renderAfter($this); ?>
	</div>

	<div id="ActionOutput">
		<?php echo $this->getSlot('action')->render(); ?>
	</div>

	<div id="GlobalFooter">
		Buan &copy; James D Gauld |
		Page generated in approx. <?php echo round(microtime(TRUE)-Config::get('timeStarted'), 3); ?> seconds
		and <?php echo number_format(memory_get_peak_usage()/(1024*1024), 2); ?> MB memory
		(<?php echo count(ModelTracker::$tracker); ?> in-memory Models)
	</div>
</body>
</html>